<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="/struts-tags"  prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
		<s:form  action="/control/book/author_register.go" method="post" cssStyle="text-align: left;" id="author_regster_form">
			<table id="register">
				<tr>
					<td class="description">用户名：</td>
					<td class="inputTd">
					<input class="input" type="text" name="author.name" id="userName" onfocus="focusName()" onblur="blurName()"/>
					<font color="red">*</font><span id="userNameMessage"></span></td>
					<td rowspan="9" style="vertical-align: top;text-align: right;">
						<textarea id="desciction" >
							您好：
							如果你有是作者，您要发布自己的作品建议你填写关于您的详细信息，这样有利于读者的搜索，提高您的知名度。
						</textarea>
					</td>
				</tr>
				<tr>
					<td class="description">性&nbsp;&nbsp;别：</td>
					<td class="inputTd">
						<input type="radio" name="author.sex" value="男" checked="checked"/>
						<input type="image" src="/image/shop/Male.gif" />男
						<input type="radio" name="author.sex" value="女" />
						<input type="image" src="/image/shop/Female.gif" />女
						<font color="red">*</font>
					</td>
				</tr>
				<tr>
					<td  class="description">名&nbsp;&nbsp;族：</td>
					<td class="inputTd">
					<select name="author.family" id="family">
						<option selected="selected" value="0">--选择名族--</option>
						<option value="汉族">汉族</option>
						<option value="壮族">壮族</option>
						<option value="藏族">藏族</option>
						<option value="裕固族">裕固族</option>
						<option value="彝族">彝族</option>
						<option value="瑶族">瑶族</option>
						<option value="锡伯族">锡伯族</option>
						<option value="乌孜别克族">乌孜别克族</option>
						<option value="维吾尔族">维吾尔族</option>
						<option value="佤族">佤族</option>
						<option value="土家族">土家族</option>
						<option value="土族">土族</option>
						<option value="塔塔尔族">塔塔尔族</option>
						<option value="塔吉克族">塔吉克族</option>
						<option value="畲族">畲族</option>
						<option value="撒拉族">撒拉族</option>
						<option value="羌族">羌族</option>
						<option value="普米族">普米族</option>
						<option value="怒族">怒族</option>
						<option value="纳西族">纳西族</option>
						<option value="仫佬族">仫佬族</option>
						<option value="苗族">苗族</option>
						<option value="蒙古族">蒙古族</option>
						<option value="门巴族">门巴族</option>
						<option value="毛南族">毛南族</option>
						<option value="满族">满族</option>
						<option value="珞巴族">珞巴族</option>
						<option value="僳僳族">僳僳族</option>
						<option value="柯尔克孜族">柯尔克孜族</option>
						<option value="拉祜族">拉祜族</option>
						<option value="景颇族">景颇族</option>
						<option value="京族">京族</option>
						<option value="回族">回族</option>
						<option value="基诺族">基诺族</option>
						<option value="哈萨克族">哈萨克族</option>
						<option value="赫哲族">赫哲族</option>
						<option value="哈尼族">哈尼族</option>
						<option value="仡佬族">仡佬族</option>
						<option value="高山族">高山族</option>
						<option value="鄂温克族">鄂温克族</option>
						<option value="俄罗斯族">俄罗斯族</option>
						<option value="独龙族">独龙族</option>
						<option value="东乡族">东乡族</option>
						<option value="侗族">侗族</option>
						<option value="傣族">傣族</option>
						<option value="德昂族">德昂族</option>
						<option value="达斡尔族">达斡尔族</option>
						<option value="朝鲜族">朝鲜族</option>
						<option value="布依族">布依族</option>
						<option value="布朗族">布朗族</option>
						<option value="保安族">保安族</option>
						<option value="白族">白族</option>
						<option value="阿昌族 ">阿昌族 </option>
					</select><font color="red">*</font><span id="familyMessage"></span></td>
				</tr>
				<tr>
					<td  class="description">学&nbsp;&nbsp;历：</td>
					<td class="inputTd">
					<select name="author.degree" id="degree">
						<option selected="selected" value="0">--学历选择--</option>
						<option>大专</option>
						<option>学士</option>
						<option>硕士</option>
						<option>博士</option>
						<option>博士后</option>
					</select><font color="red">*</font><span id="degreeMessage"></span></td>
				</tr>
				<tr>
					<td  class="description">出生日期：</td>
					<td class="inputTd">
					<input class="input" type="text" name="author.birthday" id="date-input" readonly="readonly" onclick="showTime()"/>
					<font color="red">*</font><span id="birthday"></span>
					</td>
				</tr>
				<tr>
					<td class="description">工作单位：</td>
					<td class="inputTd">
					<input class="input" id="word" name="author.word" maxlength="100" onfocus="focusWork()" onblur="blurWork()"/>
					<span id="wordMessage"></span></td>
				</tr>
				<tr>
					<td class="description">像&nbsp;&nbsp;头：</td>
					<td class="inputTd">
					<img id="bookLogo" alt="LOGO" src="/image/book/bookLogo.png"
						width="80" height="80">
					<input id="uploadLogo" type="button" value="上传Logo"
						onclick="javascript:openFileUploadWindow()">
						<input id="src" type="text" name="author.logo" style="display: none">
					<input id="src_300"  type="text" style="display: none">
					<span></span></td>
				</tr>
				<tr>
					<td class="description">研究方向：</td>
					<td colspan="2"><textarea name="author.research"  id="author_study"></textarea></td>
				</tr> 
				<tr>
					<td class="description">个人简介：</td>
					<td colspan="2"><textarea name="author.introduction"  id="author_synopsis"></textarea></td>
				</tr>
				<tr>
					<td colspan="3" style="text-align: center;">
						<input class="formButtom submit" type="button" value="" onclick="authorRegister()"/>
						<input class="formButtom reset" type="reset" value=""/>
					</td>
				</tr>
			</table>
		</s:form>
</body>
</html>